import main from '@/view/main'

export default {
    path: '/trainingManage',
    meta: {
        title: '实训管理'
    },
    component: main,
    children: [
        {
            path: '',
            name: 'trainingList',
            meta: {
                title: '实训管理'
            },
            component: () => import('./training-list')
        },
        {
            path: 'add',
            name: 'trainingAdd',
            meta: {
                title: '新建实训'
            },
            component: () => import('./training-edit')
        },
        {
            path: 'edit/:id',
            name: 'trainingEdit',
            meta: {
                title: '编辑实训'
            },
            component: () => import('./training-edit')
        },
        {
            path: 'detail/:id',
            name: 'trainingDetail',
            meta: {
                title: '实训成绩'
            },
            props: true,
            component: () => import('./detail')
        }
    ]
}
